#ifndef FONTRENDERER_HPP_INCLUDED
#define FONTRENDERER_HPP_INCLUDED
#include <SFML/Graphics.hpp>
#include <SFML/System.hpp>
#include <iostream>
#include <string>

class Core;
class FontRenderer
{
    public:
        FontRenderer(Core* core);
        ~FontRenderer();

        void printString(std::string str, int x, int y, sf::Color color, int charSize);
        void printCenteredString(std::string str, sf::IntRect rect, sf::Color color, int charSize);

    private:

        Core* m_core;
        sf::Font m_font;

};

#endif // FONTRENDERER_HPP_INCLUDED
